package com.hckj.jianzhijia.listeners;

import android.app.Activity;
import android.content.Context;
import android.view.View;

/**
 * Created by 赵奇隆 on 2015-10-07.
 */
public class OnBackClickListener implements View.OnClickListener {


    private Context context;

    public OnBackClickListener(Context context) {
        this.context = context;
    }

    @Override
    public void onClick(View v) {
        ((Activity)context).finish();
    }
}
